package me.jessyan.mvparms.demo.data.api.service;

import io.reactivex.Observable;
import me.jessyan.mvparms.demo.data.entity.TopResponse;
import me.jessyan.mvparms.demo.data.entity.UploadImgEntity;
import me.jessyan.mvparms.demo.data.entity.User;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * @Author: 海洋
 * @Date: 2018/8/17
 * @Desc:
 */
public interface MainService {

    @Multipart
    @POST("/message/UploadImg")
    Observable<TopResponse<UploadImgEntity>> uploadImage(@Part MultipartBody.Part imgs);
}
